package com.kumi.blog.user.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kumi.common.utils.PageUtils;
import com.kumi.common.utils.Query;

import com.kumi.blog.user.mapper.UserEncryptedRelationMapper;
import com.kumi.blog.user.bean.UserEncryptedRelation;
import com.kumi.blog.user.service.UserEncryptedRelationService;


@Service("userEncryptedRelationService")
public class UserEncryptedRelationServiceImpl extends ServiceImpl<UserEncryptedRelationMapper, UserEncryptedRelation> implements UserEncryptedRelationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UserEncryptedRelation> page = this.page(
                new Query<UserEncryptedRelation>().getPage(params),
                new QueryWrapper<UserEncryptedRelation>()
        );

        return new PageUtils(page);
    }

}